package wei.qiang.ye.autowiredemo.config;

import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.context.annotation.Configuration;
import wei.qiang.ye.autowiredemo.annotation.EnableHelloWorld;

@Configuration  //模式注解
@EnableHelloWorld //注解驱动的@enable
@ConditionalOnProperty(name = "helloworld", havingValue = "true")
public class HelloWorldAutoConfiguration {
}
